<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<c:set value="recruit" var="moduleName" scope="request" />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<title>查看热点加盟城市</title>
	</head>
	<body>
		<div class="div-content">
			<table class="table-layout">
				<tr class="tr-odd">
					<td class="td-label">
						省
					</td>
					<td>
						<logic:iterate id="prov" name="provinces">
							<c:if test="${prov.code == entity.provinceId}">
								<c:out value="${prov.name}" />
							</c:if>
						</logic:iterate>
					</td>
				</tr>
				<tr class="tr-even">
					<td class="td-label">
						市
					</td>
					<td>
						<logic:iterate id="city" name="cities">
							<c:if test="${city.code == entity.cityId}">
								<c:out value="${city.name}" />
							</c:if>
						</logic:iterate>
					</td>
				</tr>
				<tr class="tr-odd">
					<td class="td-label">
						区/县
					</td>
					<td>
						<logic:iterate id="dist" name="districts">
							<c:if test="${dist.code == entity.districtId}">
								<c:out value="${dist.name}" />
							</c:if>
						</logic:iterate>
					</td>
				</tr>
				<tr class="tr-even">
					<td class="td-label">
						类型
					</td>
					<td>
						<c:choose>
							<c:when test="${entity.typeCode == '1'}">
									直营店
						</c:when>
							<c:when test="${entity.typeCode == '2'}">
									特许经销商
						</c:when>
							<c:when test="${entity.typeCode == '3'}">
									直营店或特许经销商
						</c:when>
							<c:otherwise>
									&nbsp;
						</c:otherwise>
						</c:choose>
					</td>
				</tr>
				<tr class="tr-odd">
					<td class="td-label">
						年份
					</td>
					<td>
						<c:out value="${entity.age}" />
					</td>
				</tr>
				<tr class="tr-even">
					<td class="td-label">
						数量
					</td>
					<td>
						<c:out value="${entity.amount}" />
					</td>
				</tr>
			</table>
			<br />
			<div class="center-opertion">
				<button onclick="javascript:history.back();" class="button">
					返回
				</button>
			</div>
		</div>
	</body>
</html>
